package SA.student.question;

import SA.student.MainActivity;
import SA.student.R;
import SA.student.R.id;
import SA.student.R.layout;
import SA.student.notice.noticeActivity1;
import SA.student.shuttle.shuttleActivity1;
import SA.student.student.studentActivity1;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;


public class questionActivity2_View extends Activity{
	
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.question3_view);
        
        TextView noticeBtn = (TextView) findViewById(R.id.notice);

		noticeBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				noticeActivity();
			}

		});
        ImageView mainBtn = (ImageView) findViewById(R.id.mainBtn);

        mainBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				mainActivity();
			}

		});

        
        ImageView studentBtn = (ImageView) findViewById(R.id.studentBtn);

		studentBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				studentActivity();
			}

		});

		ImageView questionBtn = (ImageView) findViewById(R.id.questionBtn);

		questionBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				questionActivity();
			}

		});

		ImageView shuttleBtn = (ImageView) findViewById(R.id.shuttleBtn);

		shuttleBtn.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				shuttleActivity();
			}

		});

	}
    
    void mainActivity() {
		Intent intent = new Intent(this, MainActivity.class);
		startActivity(intent);
	}

	void studentActivity() {
		Intent intent = new Intent(this, studentActivity1.class);
		startActivity(intent);
	}

	void questionActivity() {
		Intent intent = new Intent(this, questionActivity1.class);
		startActivity(intent);
	}

	void shuttleActivity() {
		Intent intent = new Intent(this, shuttleActivity1.class);
		startActivity(intent);
	}
	
	void noticeActivity(){
		Intent intent = new Intent(this, noticeActivity1.class);
		startActivity(intent);
	}
}
  